package club.haomoon.core.entity.server;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "JvmData JVM相关信息实体")
public class JvmData implements Serializable {

   @Schema(title = "当前JVM占用的内存总数(M)")
    private double total;

   @Schema(title = "JVM最大可用内存总数(M)")
    private double max;

   @Schema(title = "JVM空闲内存(M)")
    private double free;

   @Schema(title = "JVM内存使用率")
    private double usage;

   @Schema(title = "JDK版本")
    private String version;

   @Schema(title = "JDK路径")
    private String home;

   @Schema(title = "JDK名称")
    private String name;

   @Schema(title = "运行参数")
    private String inputArgs;

   @Schema(title = "JDK运行时间")
    private String runTime;

   @Schema(title = "JDK启动时间")
    private String startTime;
}
